package com.zeei.bfs.vo;

import java.util.Date;

import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.builder.ToStringBuilder;

/**
 * 类描述：角色信息表T_DIC_ROLE对应的实体类
 *
 * @author zws
 * @version 1.0
 * @date 2016年7月8日
 * 
 */
public class RoleVO {
	/** 角色ID */
	private Integer roleId;
	/** 角色名 */
	private String roleName;
	/** 创建人ID */
	private Integer createId;
	/** 创建时间 */
	private Date createTime;
	/** 描述 */
	private String description;
	/** 部门ID */
	private Integer deptId;
	/** 用户编辑页面，判断当前用户是否拥有该角色 */
	private Integer ischeck;
	/**部门名称*/
	private String deptName;

	public Integer getRoleId() {
		return roleId;
	}

	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = StringUtils.trim(roleName);
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getDeptId() {
		return deptId;
	}

	public void setDeptId(Integer deptId) {
		this.deptId = deptId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}

	public Integer getIscheck() {
		return ischeck;
	}

	public void setIscheck(Integer ischeck) {
		this.ischeck = ischeck;
	}

	public String getDeptName() {
		return deptName;
	}

	public void setDeptName(String deptName) {
		this.deptName = deptName;
	}

}
